home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1993 December
/
1993-12.d64
/
mah jongg.sda
/
JONGG.DOCS
next >
Wrap
Text File
|
2022-09-20
|
4KB
|
151 lines
MAH-JONGG V2.0, July 29, 1989
By Kurt Tappe
Mah-Jongg is distributed to the public
as freeware. Sale of this program for
profit of any kind is forbidden unless
previously agreed to by the author.
Mah-Jongg is a solitaire game for the
Commodore 128's native mode. To play,
you may use either a 1351 mouse in
proportional mode or a joystick.
Complete instructions are included in
the game; the purpose of this file is
to give details about version 2.0 of
Mah-Jongg.
*
Nearly all program logic is written in
BASIC 7.0, and makes much use of the
7.0 specific commands. To increase
speed, a machine language "semi-fast"
routine has been merged with the input
driver, and produces actual 1.2 MHz
speed in 40 column mode.
Bugs Corrected and Features Added
---------------------------------
This version of Mah-Jongg corrects
MANY bugs from version 1.2. But
if you find anything going wrong,
please E-mail me and let me know.
Here is a list of the revisions:
*
1) The instruction file has been
somewhat revised for easier reading.
It also describes the new features
for the beginning player.
2) The tile "bleed" that affected 1.2
has been eliminated by using sprites
to highlight tiles, resulting in a much
cleaner display.
3) The entire program has been "cleaned
up"--the renumbering and documentation
will make your life much more pleasant
if you want to list and examine it! :-)
*
4) The top (key) tile is now included
in the search for possible moves
(now the "moves" function.)
5) The program now runs faster. This
is partially because of sprites being
used for highlighting, and partially
due to some code optimization.
6) There was a minor bug in the mouse
driver that made it "flake out" if it
was used with other sprites. This has
been fixed, so the semi-fast mouse
driver may be ported to other programs.
*
7) Mouse users may now use either of
the two buttons. Making use of your
rarely-used right mouse button may
prolong the life of your "rodent!" :-)
8) A file is included in the .sda file
that will make Mah-Jongg autoboot. It
works identically to the program on the
Test/Demo disk except it is customized
for Mah-Jongg and it is easier to find.
9) An extra function called "back up"
has been added to the tile bar. It
allows you to go back 1 move or a
series of moves if you make a mistake.
*
10) Lastly, and most importantly, the
"invisible tile" bug should truly be
dead and buried in this version.
The side-effect is that the program
take slightly longer to restart a new
game, but I hope you'll agree that
it's worth a few extra seconds wait.
If the bug is NOT actually dead, I've
included checksum lines and error
trapping so it will catch itself.
So much for new features. Some old
ones still exist:
- When using a mouse in search mode,
the entire screen still acts as a big
"NEXT" button; ie: you don't have to
move over to the NEXT box; just click
anywhere except the "CANCEL" box.
*
Another feature (that was actually
existent in V1.2, but I forgot to
mention) is that you can easily adjust
certain parameters in the program. If
you list line 40, you'll see that the
last 4 variables can be adjusted to your
liking. They are the tile color, hand
color, tile highlight color, and (in
this version) the note string that is
played upon making a mistake. If you
examine other parts of the program, you
could also change the screen background
color to fit any exotic tile color you
might choose! ;-)
*
Well, so much for additions to this
version! I'm still considering some
other features, such as a "peek"
function so that when you lose you can
find out where the tiles you needed
were hiding.
I'm also examining ways to make the
tile stack heights more distinct. In
the meantime, you might want to adjust
your monitor screen height knob in back
to make the screen taller - it helps!
Feel free to let me know if there are
any other features you'd like to see.
Have fun, and don't play TOO long into
the night! ;-)
Kurt Tappe
7/29/89
**